'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.home.index);
  router.get('/user', controller.user.index);
  router.get('/user/getusers', controller.user.getUsers);
  router.get('/getWorkday', controller.workday.index);

  /** 测试发消息 */
  router.get('/startwork', controller.startwork.index);
  router.get('/startwork/meeting', controller.startwork.meeting);
};
